package com.example.demo.service;

import com.example.demo.entity.OrderItem;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author chenqiuran
 * @decription 订单项
 * @date 2021/8/22
 */
@Service
public interface OrderItemService {
    public List<OrderItem> findAllOrderItemByOrderId(Long OrderId, Integer index, Integer limit);
    public Boolean addAllOrderItem(List<OrderItem> orderItemList);
    public Boolean deleteAllOrderItem(Long orderId);
}
